<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .box {
            position: relative;
            width: 600px; 
            height: 600px; 
            margin: 100px auto;
            perspective: 1000px;
        }
        img {
            /* display: block; */
            width: 600px;
            transition: all 1s;

        }
        .box>div {
            position: absolute; 
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            transition: all 1s; 
            backface-visibility: hidden; 
        }
        .back,.front {
            width: 300px;
            height: 600px;
            margin: 0 auto;
        }
        .box .back {
            top: 0;
            transform: rotateY(180deg);
        }
        .box:hover .front {
            transform: rotateY(-180deg);
        }
        .box:hover .back {
            transform: rotateY(0deg);
        }

    </style>
</head>
<body>
    <div class="box">
        <div class="front">
            <img src="./img/微信图片_20251102211951_19_31.jpg" alt="">
        </div>
        <div class="back">
            <img src="./img/微信图片_20251102212002_20_31.jpg" alt="">
        </div>
    </div>
</body>
</html>